package org.example.versi;

import org.example.test.HelloFaced;
import org.example.versi.server.RpcServer;
import org.example.versi.service.HelloFacedImpl;

/**
 * @author mojito
 * @Classname App
 * @Description TODO
 * @Date 2020/7/20 下午9:07
 **/
public class App {
    public static void main(String[] args) {
        RpcServer rpcServer = new RpcServer();
        rpcServer.registry(HelloFaced.class, new HelloFacedImpl()).publish(8899);
    }
}
